package pi.servlets.com;

import java.io.Serializable;

public class Route implements Serializable{
	
	private static final long serialVersionUID = 1L;
	
	
	String origen,destino,fecha,hora,avoid, seatsOffered, seatsAvailable, maxDeviation, remainingDeviation, maxDelay, remainingDelay,smoking, costModel, costAmount,name;
	int idUser,idRoute,idPoint;
	boolean encontrado;
	
	public Route(String fech, String hor, String nam, String avo, String offeredSeats, String availableSeats ,String amountCost, String deviationMax, String deviationRemaining, String delayMax,String delayRemaining, String fumador,String modelCost,boolean enc, int id){
		
		fecha              = fech;
		hora               = hor;
		avoid              = avo;
		seatsOffered       = offeredSeats;
		seatsAvailable     = availableSeats;
		maxDeviation       = deviationMax;
		remainingDeviation = deviationRemaining;
		maxDelay           = delayMax;
		remainingDelay     = delayRemaining;
		smoking            = fumador;
		costModel          = modelCost;
		costAmount         = amountCost;
		name               = nam;
		encontrado         = enc;
		idUser             = id;
	}

	public String getOrigen() {
		return origen;
	}

	public void setOrigen(String origen) {
		this.origen = origen;
	}

	public String getDestino() {
		return destino;
	}

	public void setDestino(String destino) {
		this.destino = destino;
	}

	public String getFecha() {
		return fecha;
	}

	public void setFecha(String fecha) {
		this.fecha = fecha;
	}

	public String getHora() {
		return hora;
	}

	public void setHora(String hora) {
		this.hora = hora;
	}

	public String getAvoid() {
		return avoid;
	}

	public void setAvoid(String avoid) {
		this.avoid = avoid;
	}

	public String getSeatsOffered() {
		return seatsOffered;
	}

	public void setSeatsOffered(String seatsOffered) {
		this.seatsOffered = seatsOffered;
	}

	public String getSeatsAvailable() {
		return seatsAvailable;
	}

	public void setSeatsAvalaible(String seatsAvalaible) {
		this.seatsAvailable = seatsAvalaible;
	}

	public String getMaxDeviation() {
		return maxDeviation;
	}

	public void setMaxDeviation(String maxDeviation) {
		this.maxDeviation = maxDeviation;
	}

	public String getRemainingDeviation() {
		return remainingDeviation;
	}

	public void setRemainingDeviation(String remainingDeviation) {
		this.remainingDeviation = remainingDeviation;
	}

	public String getMaxDelay() {
		return maxDelay;
	}

	public void setMaxDelay(String maxDelay) {
		this.maxDelay = maxDelay;
	}

	public String getRemainingDelay() {
		return remainingDelay;
	}

	public void setRemainingDelay(String remainingDelay) {
		this.remainingDelay = remainingDelay;
	}

	public String getSmoking() {
		return smoking;
	}

	public void setSmoking(String smoking) {
		this.smoking = smoking;
	}

	public String getCostModel() {
		return costModel;
	}

	public void setCostModel(String costModel) {
		this.costModel = costModel;
	}

	public String getCostAmount() {
		return costAmount;
	}

	public void setCostAmount(String costAmount) {
		this.costAmount = costAmount;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public int getIdUser() {
		return idUser;
	}

	public void setIdUser(int idUser) {
		this.idUser = idUser;
	}

	public int getIdRoute() {
		return idRoute;
	}

	public void setIdRoute(int idRoute) {
		this.idRoute = idRoute;
	}

	public int getIdPoint() {
		return idPoint;
	}

	public void setIdPoint(int idPoint) {
		this.idPoint = idPoint;
	}

	public boolean isEncontrado() {
		return encontrado;
	}

	public void setEncontrado(boolean encontrado) {
		this.encontrado = encontrado;
	}

}
